function parse (data : Buffer | string) : Buffer | string {
    data = data.toString ('utf8');
    return data;
}
console.log (parse (Buffer.from ('Hello, World', 'utf8')));
